package com.kantboot.business.ac.admin.controller;

import com.kantboot.business.ac.domain.entity.BusAcRechargeProductPhoneType;
import com.kantboot.business.ac.service.IBusAcRechargeProductPhoneTypeService;
import com.kantboot.util.common.result.RestResult;
import com.kantboot.util.core.controller.BaseAdminController;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/business-ac-web/admin/rechargeProductPhoneType")
public class BusAcRechargeProductPhoneTypeControllerOfAdmin
    extends BaseAdminController<BusAcRechargeProductPhoneType,Long>
{

    @Resource
    private IBusAcRechargeProductPhoneTypeService service;

    @RequestMapping("/getAll")
    public RestResult<List<BusAcRechargeProductPhoneType>> getAll() {
        return RestResult.success(service.getAll(),"getSuccess","获取成功");
    }

}
